{{call NavPath.index({helpers:['Market.nav_path_helper','Articles.nav_path_helper']})}}

<div class="Market Market-item_plus">
	<h1 class="h1">{{market_item.name}}</h1>
	<div class="images">
		<div class="image">
			<a href="{{market_item.image1_url}}"><img src="{{preview("6"):market_item.image1_url}}"></a>
		</div>
		<div class="previews">
			<div class="item itemA" style="background-image: url({{preview("1"):market_item.image1_url}});"></div>
			{{foreach img in market_item.file_folder}}{{if img.id!=market_item.image1_id}}<div class="item" style="background-image: url({{preview("1"):img.url}});"></div>{{/if}}{{/foreach}}
			<div class="cl"></div>
		</div>
	<script>
	</script>
	</div>
	<div class="description">
		{{if market_item.manufacturer_name}}<div class="manufacturer">{{market_item.manufacturer_name}}</div>{{/if}}
	</div>
	<div class="item_plus">
		<table>
		<tbody>
		{{foreach item in market_item_pluses}}	
		<tr>
			<td>{{item.name}}</td>
			<td>{{item.price}}</td>
			<td>
				<form class="cart_form" name="cart_form_{{item.id}}">
					<input name="amount" type="text" value="{{item.cart_amount}}"/>
					<input class="btn" type="button" value="В корзину" onclick="CartFuncs.market_set('{{item.id}}',document.forms.cart_form_{{item.id}}.amount.value);"/>
					<script>
					</script>
				</form>
			</td>
		</tr>
		{{/foreach}}
		</tbody>
		</table>
	</div>
	<div class="cl"></div>
</div>
